﻿namespace Protocal.App.Server.Middles
{
    public static class AppExtention
    {
        public static IApplicationBuilder UseExceptionHandle(this IApplicationBuilder app)
        {
            return app.UseMiddleware<ExceptionHandle>();
        }
    }
}
